package com.zjw.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 交易记录表(TradeLog)实体类
 *
 * @author 翟
 * @since 2025-04-07 12:31:05
 */
public class TradeLog implements Serializable {
    private static final long serialVersionUID = -37674823538452142L;
    /**
     * 交易记录编号
     */
    private Integer tradeLogId;
    /**
     * 买家编号
     */
    private Integer buyerId;
    /**
     * 好物编号
     */
    private Integer goodsId;
    /**
     * 卖家编号
     */
    private Integer sellerId;
    /**
     * 交易时间
     */
    private Date transactionTime;
    /**
     * 收货信息
     */
    private String receiveInfo;

    public TradeLog(Integer tradeLogId, Integer buyerId, Integer goodsId, Integer sellerId, Date transactionTime, String receiveInfo) {
        this.tradeLogId = tradeLogId;
        this.buyerId = buyerId;
        this.goodsId = goodsId;
        this.sellerId = sellerId;
        this.transactionTime = transactionTime;
        this.receiveInfo = receiveInfo;
    }

    public Integer getTradeLogId() {
        return tradeLogId;
    }

    public void setTradeLogId(Integer tradeLogId) {
        this.tradeLogId = tradeLogId;
    }

    public Integer getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public Date getTransactionTime() {
        return transactionTime;
    }

    public void setTransactionTime(Date transactionTime) {
        this.transactionTime = transactionTime;
    }

    public String getReceiveInfo() {
        return receiveInfo;
    }

    public void setReceiveInfo(String receiveInfo) {
        this.receiveInfo = receiveInfo;
    }

}

